package com.example.dynamicschedule.service.impl;

import com.example.dynamicschedule.bean.CreditDataDownloadOldForm;
import com.example.dynamicschedule.dao.CreditDataDownloadOldFormMapper;
import com.example.dynamicschedule.service.CreditDataDownloadOldFormService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CreditDataDownloadOldFormServiceImpl implements CreditDataDownloadOldFormService {
    @Autowired
    private CreditDataDownloadOldFormMapper creditDataDownloadOldFormMapper;
    @Override
    public List<CreditDataDownloadOldForm> selectList() {
        return creditDataDownloadOldFormMapper.selectList();

    }

    @Override
    public void deleteList(List<CreditDataDownloadOldForm> creditDataDownloadOldForms) {
        creditDataDownloadOldFormMapper.deleteList(creditDataDownloadOldForms);
    }
}
